package com.haoshuang.zhouzhoubang.model.bean

data class OrderDetail2Bean(
    val add_order_time: String,
    val bao_end_time: String,
    val bao_status: Int,
    val confirm_door_time: String,
    val confirm_service_time: String,
    val is_hourly_worker: String,
    val hourly_worker_end_time: String,
    val hourly_worker_cost: String,
    val work_time: String,
    val confirm_door_timestamp: String,
    val confirm_service_timetamp: String,
    val cost_total: String,
    val cate_id: String,
    val distance: String,
    val team_distance: String,
    val cost_select: String,
    val countdown: Long,
    val is_confirm: Int,
    val guarantee: Int,
    val id: Int,
    val refund_id: String,
    val video: String,
    val guarantee_status: String,
    //guarantee_status 1-待生效 2-已生效 3-已失效
    val images: ArrayList<String>,
    val define_second: Int,
    val progress: Int,
    val is_overtime: Int,
    val is_need_pay: Int,
    val is_residuetime: Int,
    val residue_time: String,
    val is_team: String,
    val lat: String,
    val base_address: String,
    val lng: String,
    val mark: String,
    val order_id: String,
    val pay_price: String,
    val pro_id: Int,
    val real_name: String,
    val user_real_phone: String,
    val service_id: Int,
    val service_time: String,
    val status: String,

    val store_name: String,
    val suk_unique: String,
    val store_order_alarm_tel: String,
    val store_order_tel: String,
    val hourly_worker_time: String,
    val take_task_time: String,

    val team_leader: YyBean.ThirdInfo.TeamUser,
    val team_member: ArrayList<TeamMember>,
    val cost_list: ArrayList<CostList>,
    val uid: Int,
    val user_address: String,
    val user_avatar: String,
    val user_phone: String,
    val user_status: Int,
    val is_sign: Int,
    val paid: Int?, // 订单支付状态
    val product_image: String?, // 服务图片
    val transfer_orders_deduct_point: String?, //转单扣除积分
    val remaining_transfer_orders_num: String?, // 剩余转单次数
    val reward_amount: String?, // 奖励金
    val base_reward_amount: String?, // 奖励金 总额
    val max_compensation_amount: String?, // 最大补偿奖励金
    val nighttime_amount: String?, // 夜间服务费
    val prepayments_amount: String?, // 夜间服务费

    // 保险相关字段
    val deduct_insurance_amount: String?, // 保险扣除额度
    val insurance_status: String?,//保险状态 0未购买 1已购买 2已过期
    val insurance_expire_time: String?, // 保险过期时间
    val insurance_image: String?, // 保险保单图片
    val second_visit_amount: String?, // 二次上门费

    val refund_arrival_time: String?, // 退款到账时间
    // 分成
    val team_price: TeamPrice?,
    val total_num: Int, // 商品数量

    val key_areas: String?, // 重点服务区域


    val hexiao_type: String?,
    val finish_time: String?,

    //image_qian_count  服务前图片数量
    //image_zhong_count 服务中图片数量
    //image_hou_count 服务后图片数量
    val image_qian_count: Int,
    val image_zhong_count: Int,
    val image_hou_count: Int,
    val is_cart_order: Int,
    var order_goods:MutableList<OrderGoodsBean>
) {
    data class TeamMember(
        val avatar: String,
        val nickname: String,
        val team_is_sign: String,
        val order_id: Int,
        val phone: String,
        val user_id: Int,
        val is_leader: Int?,
    )
    data class CostList(
        val cost_name: String,
        val money: String,

    )
    data class TeamPrice(
        val team_price: String, // 团队长
        val team_leader_price: String,// 负责人
        val team_member_price: String,// 订单成员
        val self_price: String,// 自己实际分成
    )
}